package com.chj.comp.service.demo1.service;

import com.chj.comp.common.core.util.Result;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface IExcelTestService {
    /**
     * 模板下载
     * @param response
     */
    void downloadDemo(HttpServletResponse response) throws IOException;

    /**
     * 数据下载
     * @param response
     */
    void downloadData(HttpServletResponse response) throws IOException;

    /**
     * 数据上传
     * @param file
     * @return
     */
    Result uploadData(MultipartFile file) throws IOException;
}
